import React from "react"
import Serach from "./serach"
import Lists from "./lists"
import {connect} from "dva"

const Component  = (props)=>{
  return (
    <div>
      <h1>this is dva</h1>
      <Serach {...props}></Serach>
      <Lists {...props}></Lists>
    </div>
  )
}

export default connect(({search})=>(
  search
))(Component)